<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>vue模板语法</title>
	<script src="vue.js"></script>
</head>
<body>
	<div id="root">
		<div>{{name}}</div>
		<div v-text="name"></div>
		<div v-html="name" v-bind:title="name"></div> 

		<div>{{name1 + 'lee'}}</div>
		<div v-text="name1 + 'lee'"></div>
		<div v-html="name1 + 'lee'"></div>
	</div>

	<script>
		var vm = new Vue({
			el:'#root',
			data: {
				name: '<h2>dell</h2>',
				name1: 'dell'
			}
		})
	</script>
</body>
</html>